

#ifndef COLLECTOR_H_
#define COLLECTOR_H_

#include "../MemoryManager.h"
#include "../../Common/Consts.h"
#include <boost/unordered_map.hpp>
#include <string>
#include <vector>
#include <iostream>

class Collector {

public:

	Collector();

	virtual ~Collector();

	void inspectSubscription(BackSubPkt *pkt);

	int getCount() { return count; }

	void reset();

	boost::unordered_map<int, boost::unordered_map<std::string, std::vector<Type> > > getMap() { return map; }

private:

	int count;
	boost::unordered_map<int, boost::unordered_map<std::string, std::vector<Type> > > map;

	//void buildEncoder();
};



#endif /* COLLECTOR_H_ */
